General Info Template Language WCTL Commands WebX/Chat WebX/Pro
Release Notes Standard Templates URL Codes WebX/Multi FastCGI, NSAPI, ISAPI

Visit the Web Crossing Conference to find a wealth of WebX info and a community of WebX experts on the Web!

Web Crossing/Pro Sysop Documentation

Table of Contents

Distributed Web Crossing servers The Excite search engine

» Distributed Web Crossing servers

Web Crossing/Pro allows you to run multiple cooperating Web Crossing servers. These cooperating servers can

  • provide real-time redundancy to make sure you can always respond to user requests and that you never lose your discussion database;
  • greatly increase throughput and responsiveness;
  • share a single user directory among multiple virtual Web Crossing sites.

    » Redundant database architecture

    To serve the same database from multiple servers, Web Crossing uses a source-mirror architecture with a single source/master and one or more mirrors/servants.


    Redundant database with 2 mirrors

    All of the servers, including the source, can be used to process user requests. In very high-volume sites, the source may be dedicated to synchronizing the various mirror databases.

    Each mirror may run as a separate process on the same machine as the source, or on its own machine. Each server, source or mirror, keeps its own copy of the discussion database. TCP/IP connections from the source to each mirror are used to synchronize all of the databases.

    The mapping of a user request to a particular Web Crossing server is done outside of Web Crossing. For example, you could use DNS rotation to have domain-name lookups rotate among the various servers, or hardware such as Cisco's LocalDirector to transparently assign each request to an available server.

    Because each server keeps its own copy of the database, most requests can be served locally, without accessing the source database. Requests that change the database, such as checking subscriptions or changing user preferences, are passed to the source and then from the source to the other mirrors. Requests that create a new database object, such as posting a message or creating a new discussion, are passed to the source to have the object's unique ID assigned centrally, and are then passed by the source to all mirrors.

    » Configuring redundant servers

    You configure redundant servers through the Distributed servers sysop control panel. This panel allows you to specify TCP/IP ports and source/mirror relationships for all of your servers.

    Each redundant server must have its own license certificate.

    » Performance scaling

    Performance scaling with redundant servers is primarily a function of the number of views per post. A typical Web Crossing site will see 20 views to 1 post, because most users read material and only occasionally respond.

    Because each post has to be forwarded to the source server for processing, and then back out to all the mirrors to keep their databases synchronized, each server is processing all of the new messages submitted to the site.

    With 20:1 views to posts and 10 servers, each server is spending about 1/2 of its time adding new messages to the database. (This is a conservative estimate, because updating the database is quite a bit cheaper than building the response to a user request.) So at 20:1 views to posts, 10 servers will provide 5 times the throughput of a single server. If one of your servers can do 300,000 hits per day, then 10 servers will scale to 1.5 million hits per day.

    » Operations with redundant servers

    The normal operations required to maintain a site are to install a new mirror server, take down a mirror server, move the source server to one of the mirrors, and make a backup copy of the discussion database. This section also discusses handling unscheduled server outages.

  • Add a new mirror server.

  • Take down a mirror server.

  • Move the source server to one of the mirrors.

  • Make a backup copy of the database.

  • Handle unexpected server outages.

    » Shared user directory

    Web Crossing/Pro allows you to share a common user directory among multiple different conferences. You can use this to have a common user community across multiple sites, or to break a single large conference down into smaller pieces so that it can scale to much larger volume.

    You configure shared directory service through the Distributed servers sysop control panel.

    » The Excite search engine

    On selected platforms, Web Crossing/Pro includes Excite's search engine for high-performance queries of the discussion database.

    The Excite search engine builds an index of your discussion database, including all messages, discussion headings, and folder headings. Subsequent search requests use this index to dramatically speed up the search operation. The Excite index is a small percentage of the discussion database size, typically taking less than 10% additional disk space.

    In addition to performing very high-performance searches, the Excite search engine automatically builds "concept based" document clusters. Documents with many similar words and phrases are clustered together, and may be returned by a search as related documents, even though they do not contain the exact keywords used in the search request.

    The search engine index must be rebuilt periodically in order to incorporate new messages and discussions. Web Crossing can automatically schedule index builds daily or when some number of new messages have been posted. The index rebuild takes place in the background, so that your Web Crossing conference continues to run (and search with the old index) during this process.

    New messages will not be found by the Excite search engine until the index is rebuilt. You can tell Web Crossing to use full-text keyword searching on these new messages until the index is rebuilt, so that the full database is always searched.

    » Managing the Excite search engine

    To enable searching and specify parameters for automatically rebuilding the index, see the sysop General Settings.

    To rebuild an index manually or check on the current index rebuild status, see the commands at the end of the Sysop Controls panel.

    When you install Web Crossing/Pro, a Search directory is created in the same directory as the Web Crossing program. This Search directory contains three files used to build the search index: stop.ptr, stop.key, and stem.tbl. The index is built into Search directory as a collection of files named Search.xxx. The next index is built as a collection of files named Backup.xxx. Once the next index is completely rebuilt, the old Search files are deleted and replaced by the new index.


    Copyright © 1996-98 by Lundeen & Associates, Alameda, California.